package com.zbkj.crmeb.chant.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class AssistantRequest implements Serializable {

    @ApiModelProperty(value = "房间ID")
    @NotNull(message = "房间ID不能为空")
    private Integer roomId;

    @ApiModelProperty(value = "用户微信号")
    @NotBlank(message = "用户微信号不能为空")
    private String username;

    @ApiModelProperty(value = "用户昵称")
    @NotBlank(message = "用户昵称不能为空")
    private String nickname;

}